package main

import (
	"fmt"
	"net"
)

func main() {
	for i := 21; i < 120; i++ {
		address := fmt.Sprintf("10.37.8.67:%d", i)
		conn, err := net.Dial("Tcp", address)
		if err != nil {
			fmt.Printf("%s关闭了\n", address)
			continue
		}
		defer conn.Close()
		fmt.Printf("%s 打开了\n", address)
	}
}
